// const { defineConfig } = require('@vue/cli-service')
// const {DefinePlugin} = require('webpack')
// module.exports = defineConfig({
//   transpileDependencies: true,
//   lintOnSave: false,
// })


const { defineConfig } = require('@vue/cli-service')
const {DefinePlugin} = require('webpack')
module.exports = defineConfig({
  transpileDependencies: true,
  // 关闭语法检查
  lintOnSave: false,
  // 解决警告
  configureWebpack:{
    plugins:[
      new DefinePlugin({
        __VUE_PROD_HYDRATION_MISMATCH_DETAILS__:false
      })
    ]
  }
})